#!/bin/sh


ip=`/sbin/ifconfig -a eth0|grep inet|awk '{print $2}'|tr -d "addr:"|sed -n '1p'`

sudo mkdir -p /usr/head/config
sudo chmod 777 /usr/head/config
sudo rm -rf /usr/head/config/head.yml

#生成配置表 head
if [ ! -f "/usr/elasticsearch/config/elasticsearch.yml" ];then

fi
